<template>
  <div class="nav_container">
    <ul>
      <li><span>首页</span></li>
      <li><span>特色智库</span></li>
      <li><span>学者空间</span></li>
      <li><span>知识库</span></li>
      <li><span>基础数据库</span></li>
      <li><span>社科动态</span></li>
      <li><span>业务系统</span></li>
    </ul>
  </div>
</template>

<script>
  export default {
    name: "MainNav"
  }
</script>

<style scoped lang="less">
  .nav_container {
    height: 42px;
    line-height: 42px;
    background-color: #1b75e1;
    width: 100%;
    display: flex;
    justify-content: center;
    ul {
      display:flex;
      justify-content:center;
      li{
        width:127px;
        cursor:pointer;
        text-align:center;
        height:100%;
        color:#fff;
        font-size:16px;
        font-family:"微软雅黑"
      }
      li:hover{
        background-color:#fff;
        color:#1b75e1;
        font-size: 16px;
        font-family: 微软雅黑;
        span{
          display: inline-block;
          width: 60%;
          border-top: 2px solid #2a00a3;
        }
      }
    }
  }
</style>
